<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\UserAddress
 *
 * @property int $id 地址标识
 * @property int $user_id 用户标识
 * @property string|null $consignee 收件人
 * @property string $province 省份
 * @property string|null $city 城市
 * @property string|null $area 地区
 * @property string|null $add_detail 详细地址
 * @property string|null $postcode 邮政编码
 * @property string|null $phone 手机号
 * @property string|null $telephone 固定电话号码
 * @property int $is_default 是否默认地址，0：否，1：是
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\UserAddress onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereAddDetail($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereArea($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereCity($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereConsignee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereIsDefault($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress wherePhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress wherePostcode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereProvince($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereTelephone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserAddress withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\UserAddress withoutTrashed()
 * @mixin \Eloquent
 */
class UserAddress extends Model
{
    protected $table = "user_address";
    use SoftDeletes;
}
